# -*- coding: utf-8 -*-
from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
import views

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'weixin.views.home', name='home'),
    # url(r'^weixin/', include('weixin.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
(r"^MP_verify_Mn0LgkUFgbvh8tHW.txt$", lambda x: HttpResponse('Mn0LgkUFgbvh8tHW')),
    url(r'^$',views.index) , # 首页
    url(r'^r_oauth/$',views.r_oauth) , # 授权
    url(r'^user/$',views.get_user_info),  # 获取用户信息
    url(r'^create_answer/$',views.create_answer),  # 获取测试的题库
    url(r'^create_action/$',views.create_action),  # 保存结果
    url(r'^get_pic/$',views.get_pic_action),  # 生成海报






)
